/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frstat_port.c                                      */
/*  NOTE      =                                                    */
/*  DATE      = 2015/08/10 by guojq                                */
/*******************************************************************/
#ifndef __FRSTAT_PORT_H_
#define __FRSTAT_PORT_H_

int frstat_ports_init(unsigned long ul_hash_size);
void frstat_ports_destroy(void);

int frstat_ports_add_stat(u_short proto, u_int ui_dst_ip, u_short us_dst_port
                   , unsigned int ui_tx_bytes, unsigned int ui_rx_bytes
                   , unsigned int ui_tx_pkts, unsigned int ui_rx_pkts);
void frstat_ports_report(void);

#endif
